package org.stars.message;

/**
 * @author 沧月
 * @date 2020/10/27
 * @desc 描述
 */
public enum Code {

    Code__1(-1),
    Code_0(0),
    Code_200(200),
    Code_1001(1001), //接口认证失败
    Code_1002(1002), //授权过期
    Code_1003(1003), //用户验证失败
    Code_5000(5000), //系统内部错误
    Code_1422(422),
    Code_401(401);


    private int value;

    Code(int value) {
        this.value = value;
    }

    public int getValue() {
        return this.value;
    }
}
